package epoch.game.core.common;

import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;

public class GameLog{
	
	private static Logger log = Loggers.COMMON_LOGGER;

	
	public static void catching(Level level, Throwable t) {
		log.catching(level, t);
	}

	
	public static void catching(Throwable t) {
		log.catching(t);
	}
	
	public static void debug(Object message) {
		log.debug(message);
	}

	
	public static void debug(Object message, Throwable t) {
		log.debug(message, t);
	}

	
	public static void debug(String message) {
		log.debug(message);
	}

	
	public static void debug(String message, Object... params) {
		log.debug(message, params);
	}

	
	public static void debug(String message, Throwable t) {
		log.debug(message, t);
	}

	
	public static void error(Object message) {
		log.error(message);
	}

	
	public static void error(Object message, Throwable t) {
		log.error(message, t);
	}

	
	public static void error(String message) {
		log.error(message);
	}

	
	public static void error(String message, Object... params) {
		log.error(message, params);
	}

	
	public static void error(String message, Throwable t) {
		log.error(message, t);
	}
	
	public static void fatal(Object message) {
		log.fatal(message);
	}

	
	public static void fatal(Object message, Throwable t) {
		log.fatal(message, t);
	}

	
	public static void fatal(String message) {
		log.fatal(message);
	}

	
	public static void fatal(String message, Object... params) {
		log.fatal(message, params);
	}

	
	public static void fatal(String message, Throwable t) {
		log.fatal(message, t);
	}

	public static void info(Object message) {
		log.info(message);
	}

	
	public static void info(Object message, Throwable t) {
		log.info(message, t);
	}

	
	public static void info(String message) {
		log.info(message);
	}

	
	public static void info(String message, Object... params) {
		log.info(message, params);
	}

	
	public static void info(String message, Throwable t) {
		log.info(message, t);
	}

	
	public static boolean isDebugEnabled() {
		return log.isDebugEnabled();
	}
//
//	public static boolean isEnabled(Level level) {
//		return log.isEnabled(level);
//	}

	public static boolean isErrorEnabled() {
		return log.isErrorEnabled();
	}
	
	public static boolean isFatalEnabled() {
		return log.isFatalEnabled();
	}
	
	public static boolean isInfoEnabled() {
		return log.isInfoEnabled();
	}

	public static boolean isTraceEnabled() {
		return log.isTraceEnabled();
	}
	
	public static boolean isWarnEnabled() {
		return log.isWarnEnabled();
	}
	
	public static void trace(Object message) {
		log.trace(message);
	}

	
	public static void trace(Object message, Throwable t) {
		log.trace(message, t);
	}

	
	public static void trace(String message) {
		log.trace(message);
	}

	
	public static void trace(String message, Object... params) {
		log.trace(message, params);
	}

	
	public static void trace(String message, Throwable t) {
		log.trace(message, t);
	}
	
	public static void warn(Object message) {
		log.warn(message);
	}

	
	public static void warn(Object message, Throwable t) {
		log.warn(message, t);
	}

	
	public static void warn(String message) {
		log.warn(message);
	}

	
	public static void warn(String message, Object... params) {
		log.warn(message, params);
	}

	
	public static void warn(String message, Throwable t) {
		log.warn(message, t);
	}
}
